package com.chuhe.lottery.domain.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

import lombok.*;
import org.checkerframework.checker.units.qual.A;

/**
 * @author 张楚河
 * @since 2025-06-03
 */
@Data
@Builder
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@TableName("winners")
public class Winners implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     * @Author: 楚河
     * @Date: 2025-06-03 23:52
     */
    @TableId(value = "user_id")
    private Integer userId;

    /**
     * 用户名称
     * @Author: 楚河
     * @Date: 2025-06-03 23:52
     */
    @TableField("name")
    private String name;

    /**
     * 所得奖项
     * @Author: 楚河
     * @Date: 2025-06-03 23:52
     */
    @TableField("awards")
    private String awards;


}
